package com.zhang.designmode.wangzheng_design_mode.event;

import java.util.List;

/**
 * @Author: zhangxuzhuang
 * @DateTime: 2022/2/23 18:40
 * @Description: TODO
 */
public class EventDemo {
    private List<Event> events;

    public static void main(String[] args) {
        EventDemo eventDemo = new EventDemo();
        eventDemo.fun();
    }

    private void fun() {
        for (Event event : events) {
            event.change();
        }
    }
}
